#pragma once
#include "../math/matrix.h"
#include <xnamath.h>

namespace NEngine {

// -- WARNING value here must change along with the hlsl code
const uint kMaxConeLights = 4;

// ================================================================================================
// Most basic constant buffer
// ================================================================================================
struct SConstantBuffer {
    Matrix4x4 world;
    Matrix4x4 view;
    XMMATRIX proj;
    Matrix4x4 tinvworld;
    Matrix4x4 lightview[kMaxConeLights];
};

} // -- namespace NEngine